package ex.inte;

import java.text.ParseException;
import java.time.LocalDateTime;
import java.time.temporal.Temporal;
import java.time.temporal.TemporalAccessor;

/**
 * @author small瑞
 */
public interface MyDate {
    /**
     * 时间久远比较
     * @param date
     * @return
     * @throws ParseException
     */
    int compareTo(MyDateTime date )throws ParseException;

    /**
     * sss
     * @param args
     */
    public static void main(String[] args) {
        Temporal temporal = LocalDateTime.now();
    }
}
